package cn.it.service.Impl;

import cn.it.domain.User;
import cn.it.mapper.UserMapper;
import cn.it.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> getList(String name, Integer sex) {
        return userMapper.getList(name, sex);
    }
}